package com.leo.imp;

import com.leo.abs.OperateException;
import com.leo.abs.RUnaryOpr;

public class NegtiveOperator extends RUnaryOpr {

	public NegtiveOperator(){
		token = "-";
	}
	@Override
	public double operate(double a) throws OperateException {
		return -a;
	}

}
